<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>食品安全知识学习</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-transform"/>
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="stylesheet" type="text/css" href="http://apps.bdimg.com/libs/blendui/2.0.0/boost.min.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/acshenzhen/css/doc.css" />
<script type="text/javascript" src="__PUBLIC__/acshenzhen/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="http://apps.bdimg.com/libs/blendui/2.0.0/boost.min.js"></script>
<script type="text/javascript">window.boost = $.noConflict(true);</script>
<script type="text/javascript" src="__PUBLIC__/acshenzhen/js/questions.js"></script>
<script type="text/javascript">
// var init={'questions':[{'question':'调查显示世界上所有国家和地区的高血压发病率均与下列哪种调味料的摄入有关？','answers':['食盐','味精','醋','酱油'],'correctAnswer':1},{'question':'找出不同类的一项?','answers':['写字台','沙发','电视','桌布'],'correctAnswer':3},{'question':'国土面积最大的国家是：','answers':['美国','中国','俄罗斯','加拿大'],'correctAnswer':3},{'question':'月亮距离地球多远？','answers':['18万公里','38万公里','100万公里','180万公里'],'correctAnswer':2}]};
var init={$res};

$(function(){
	$('#learn-container').learn({
        questions: init.questions
    });
});
</script>
</head>
<body class="wrap bg-light-blue">
<div class="wrap"></div>
<div class="sun"></div>
<div class="questions" id="learn-container">
	<div class="cloud-top"></div>
	<div class="bg-white clearfix">
		<div class="blend-container-fluid">
			<div class="question-item">
				<div class="type">单选题</div>
				<h4 class="question-number f-2x m-no fw-bold text-center"></h4>
				<p class="question-info f-1x"></p>
				<div class="question-btn"></div>
			</div>
		</div>
	</div>
	<div class="cloud-bot">
		<div class="bird1"></div>
		<div class="bird2"></div>
	</div>
	<div class="answers">
	</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
	sessionStorage.jump_url = "{:U('M/Acshenzhen/exam_enter_for')}" + '?schoolid=' + {$schoolid};
	// alert(sessionStorage.jump_url);
});
</script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script>
wx.config({
    debug: false,
    appId: '{$signPackage["appId"]}',
    timestamp: {$signPackage["timestamp"]},
    nonceStr: '{$signPackage["nonceStr"]}',
    signature: '{$signPackage["signature"]}',
    jsApiList: [
      // 所有要调用的 API 都要加到这个列表中
      'onMenuShareTimeline',
      'onMenuShareAppMessage'
    ]
});


wx.ready(function () {
// 在这里调用 API
    wx.onMenuShareTimeline({
        title: '“深圳食品小卫士”大比拼，一大波萌娃究竟花落谁家', // 分享标题
        link: "{$site_url}{:U('M/Acshenzhen/xws_rank')}", // 分享链接
        imgUrl: 'http://www.zhongcetianxia.com/Public/template/default/img/acshenzhen/share_icon.jpg', // 分享图标
        success: function () { 
            // 用户确认分享后执行的回调函数，生成红包
            // _system.$("cover").click()

        },
        cancel: function () { 
            // 用户取消分享后执行的回调函数
        }
    });
    
    wx.onMenuShareAppMessage({
        title: '“深圳食品小卫士”大比拼，一大波萌娃究竟花落谁家', // 分享标题
        desc: '众测天下召集食品安全小卫士啦，一起参与领奖品', // 分享描述
        link: "{$site_url}{:U('M/Acshenzhen/xws_rank')}", // 分享链接
        imgUrl: 'http://www.zhongcetianxia.com/Public/template/default/img/acshenzhen/share_icon.jpg', // 分享图标
        type: '', // 分享类型,music、video或link，不填默认为link
        dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
        success: function () { 
            // 用户确认分享后执行的回调函数
            // _system.$("cover").click()

        },
        cancel: function () { 
            // 用户取消分享后执行的回调函数
        }
    });

});
</script>
</body>
</html>